package com.caishi.lkx.exam.service;

import com.caishi.lkx.exam.model.ExamCalendarModel;
import com.caishi.lkx.exam.vo.IndexExamCalendarVo;
import com.zzw.common.entity.BaseService;


/**
 * @author by liyihua
 * @date : 2022-01-06 14:29
 */
public interface IExamCalendarService extends BaseService<ExamCalendarModel, String> {


    /**
     * 获取考试下的最近日历
     *
     * @param examId
     * @return
     */
    ExamCalendarModel getExamLately(String examId);


    /**
     * 将日历转化为前端模型
     *
     * @param model
     * @return
     */
    IndexExamCalendarVo tansClientVo(ExamCalendarModel model, boolean async);
}
